<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	template="../templates/ui.xhtml">
	
	<ui:define name="head">
		<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
	</ui:define>

	<ui:define name="content">

		<h1 class="title ui-widget-header ui-corner-all">GMap - Controls</h1>
		<div class="entry">
			<p>Controls on map can be customized via attributes like navigationControl and mapTypeControl. 
			Alternatively setting disableDefaultUI to true will remove all controls at once.</p>
			
				<p:gmap center="41.381542, 2.122893" zoom="15" type="TERRAIN" style="width:600px;height:400px" 
					mapTypeControl="false" navigationControl="false" />
			
			<h3>Source</h3>
			<pre name="code" class="xml">
&lt;p:gmap center="41.381542, 2.122893" zoom="15" type="TERRAIN" 
		style="width:600px;height:400px" 
		mapTypeControl="false" navigationControl="false" /&gt;
			</pre>
												
		</div>
	</ui:define>
</ui:composition>